/* =========================================
   NAVBAR BASE STYLES (Desktop)
   (Unified Premium Branding Applied)
========================================= */
.navbar {
  position: absolute !important; 
  top: 0; 
  left: 0;
  width: 100%; 
  display: flex; 
  justify-content: space-between !important; 
  align-items: center !important;
  padding: 15px 40px; 
  background-color: #1e6262; /* Brand Teal */
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
  box-sizing: border-box; 
  margin: 0;
}

.brand-container {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  flex-shrink: 0;
}

.logo {
  height: 80px !important; /* Perfectly sized logo */
  width: auto !important;
  flex-shrink: 0;
  background: transparent !important;
  padding: 0 !important;
  display: block !important;
  filter: contrast(1.15) brightness(1.05) drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

/* THE PREMIUM CINZEL BRAND TEXT */
.brand-text {
    font-family: 'Cinzel', serif !important; 
    text-transform: uppercase !important;
    color: #ffffff !important; /* Pure White Text */
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7) !important; 
    display: inline-block !important;
    transform: translateY(4px) !important; /* Magic Nudge Tool */
}

/* Links Area */
.nav-links { 
  display: flex; 
  gap: 2rem; 
  list-style: none; 
  margin: 0;
  padding: 0;
}

/* FORCE MENU LINKS TO MATCH HOMEPAGE (BOLD, ALL CAPS, ARIAL) */
.nav-links a { 
    font-family: 'Arial', sans-serif !important; 
    color: #ffffff !important; 
    font-weight: 700 !important; 
    text-transform: uppercase !important; 
    letter-spacing: 1.5px !important; 
    font-size: 14px !important; 
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8) !important;
    transition: color 0.3s ease !important; 
    text-decoration: none !important;
}
    
.nav-links a:hover { 
    color: #fce03b !important; 
}

/* Hidden Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}
.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #ffffff !important; 
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* =========================================
   TABLET & MOBILE ZERO-GAP FIX
========================================= */
@media (max-width: 1024px) {
    .navbar { 
        padding: 15px 10px !important; /* Destroys the huge gap */
        flex-wrap: nowrap !important; 
        flex-direction: row !important; 
        justify-content: space-between !important;
        width: 100% !important;
    }
    .brand-container { 
        max-width: 85% !important; 
        gap: 8px !important; 
        flex-shrink: 1 !important; 
        justify-content: flex-start !important; 
        margin-left: 0 !important; 
        padding-left: 0 !important; /* Pulls logo hard to left edge */
    }
    .logo { height: 50px !important; flex-shrink: 0 !important; }
    .brand-text { font-size: 13px !important; letter-spacing: 1px !important; transform: translateY(3px) !important; flex-shrink: 1 !important; }
    
    .menu-toggle { display: flex !important; margin-left: auto !important; flex-shrink: 0 !important; }
    
    /* Hide the Row of Links & Turn into Dropdown */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; 
        left: -100%; 
        width: 100%;
        background-color: rgba(30, 98, 98, 0.98) !important; 
        text-align: center;
        transition: 0.4s ease; 
        padding: 2rem 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
        z-index: 999;
    }
  
    .nav-links.active { left: 0; }
    .nav-links li { margin: 15px 0; }
    .nav-links a { font-size: 1.1rem; text-shadow: none !important;}
}

/* =========================================
   POPUP MODAL STYLES
========================================= */
.project-modal {
  display: none; 
  position: fixed;
  z-index: 2000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 103, 109, 0.95); 
  overflow-y: auto; 
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: #f9f9f9;
  margin: 5% auto; 
  padding: 40px 20px;
  width: 90%;
  max-width: 1000px;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.close-modal {
  color: #1e6262;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover { color: #fce03b; }

.presentation-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.presentation-container img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* =========================================
   IMAGE GALLERY STYLES
========================================= */
.portfolio-project {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.project-title {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px; 
}

.image-gallery img {
  width: 100%;
  height: 250px; 
  /* THE FIX: Shows the full image without cutting the edges */
  object-fit: contain; 
  /* Adds a soft background color so varying image sizes look neat */
  background-color: #f8f8f8; 
  border-radius: 4px; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.image-gallery img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================
   LIGHTBOX STYLES
========================================= */
#lightbox-modal {
  position: fixed;
  z-index: 3000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); 
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none; 
  transition: opacity 0.3s ease;
}

#lightbox-modal.lightbox-visible {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh; 
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  object-fit: contain;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #f1f1f1;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-lightbox:hover { color: #cccccc; }

/* Ensure the body doesn't have hidden margins */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Hide scrollbars on grid */
.portfolio-grid, 
.portfolio-grid-section {
  -ms-overflow-style: none;  
  scrollbar-width: none;     
}

.portfolio-grid::-webkit-scrollbar, 
.portfolio-grid-section::-webkit-scrollbar {
  display: none; 
}

/* =========================================
   FIXED: SEAMLESS PORTFOLIO GRID & HOVER
========================================= */
.portfolio-grid-section {
  padding: 80px 0 0 0; 
  background: #ffffff;
  -ms-overflow-style: none;  
  scrollbar-width: none;     
}

.portfolio-grid-section::-webkit-scrollbar { display: none; }

.portfolio-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.portfolio-header h2 {
  font-size: 2.5rem;
  color: #1e6262; 
}

.portfolio-header p {
  color: #666;
  font-size: 1.1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 0; 
}

/* --- The Hover Magic & Zero-Crop Fix --- */
.portfolio-item {
  position: relative !important;
  overflow: hidden;
  /* Changed from 4/3 to 1/1 to make perfect squares */
  aspect-ratio: 1 / 1; 
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #ffffff; /* Keeps the background clean behind the image */
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  /* THE FIX: Forces the entire image to fit inside the square */
  object-fit: contain; 
  display: block;
  transition: transform 0.6s ease-in-out;
}

.portfolio-overlay {
  position: absolute !important;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background: rgba(17, 103, 109, 0.9) !important; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0 !important; 
  transition: opacity 0.4s ease;
  padding: 20px;
  z-index: 10;
}

.portfolio-text {
  opacity: 0;
  transform: translateY(30px) !important; 
  transition: transform 0.4s ease, opacity 0.3s ease;
  text-align: center;
}

.portfolio-text h3 {
  color: #fce03b !important; 
  font-size: 1.4rem;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-text p {
  color: #ffffff !important;
  font-size: 0.95rem;
  margin: 0;
  font-weight: 300;
}

/* Animations Triggered on Hover */
.portfolio-item:hover img { transform: scale(1.1) !important; }
.portfolio-item:hover .portfolio-overlay { opacity: 1 !important; }
.portfolio-item:hover .portfolio-text {
  opacity: 1 !important;
  transform: translateY(0) !important; 
}

@media (max-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { 
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-text h3 { font-size: 1.2rem; }
}
@media (max-width: 480px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* =========================================
   5-PHOTO GRID LAYOUT (WITH GAPS)
========================================= */
.amenities-5-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.amenities-5-grid .portfolio-item { border-radius: 10px; }

.amenities-5-grid .portfolio-item:nth-child(1),
.amenities-5-grid .portfolio-item:nth-child(2),
.amenities-5-grid .portfolio-item:nth-child(3) {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
}

.amenities-5-grid .portfolio-item:nth-child(4),
.amenities-5-grid .portfolio-item:nth-child(5) {
    grid-column: span 3;
    aspect-ratio: 16 / 9; 
}

@media (max-width: 900px) {
    .amenities-5-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .amenities-5-grid .portfolio-item { grid-column: span 1 !important; aspect-ratio: 4 / 3 !important; }
    .amenities-5-grid .portfolio-item:nth-child(5) { grid-column: span 2 !important; }
}

@media (max-width: 600px) {
    .amenities-5-grid { grid-template-columns: 1fr; }
    .amenities-5-grid .portfolio-item:nth-child(5) { grid-column: span 1 !important; }
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  background-color: #ffffff;
  text-align: center;
  padding: 80px 20px 60px; 
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.back-to-top {
  display: inline-block;
  text-decoration: none;
  color: #11676d; 
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.back-to-top:hover { transform: translateY(-3px); }
.site-footer div.back-to-top { display: none !important; }

.copyright, .copyright-text {
  color: #b3b3b3; 
  font-size: 13px;
  letter-spacing: 0.5px;
  margin: 0;
}

/* =========================================
   BANNER SECTION
========================================= */
.banner-section {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://i.ibb.co/dwXxXCDL/e08c5048-969b-4853-939d-573bc48194b7.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    min-height: 400px; 
    padding: 120px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-section h2 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 900px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.banner-section h2 strong { font-weight: 700; }

/* =========================================
   CONTACT US SECTION 
========================================= */
.contact-section {
    background-color: #11676d; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff; 
    padding: 80px 20px 5rem 20px; 
}

.contact-header { max-width: 1200px; margin: 0 auto; padding-bottom: 2rem; }
.contact-header h1 { font-size: 2.5rem; color: #fce03b; font-weight: 600; margin: 0; }

.contact-content-split { max-width: 1200px; margin: 0 auto; display: flex; gap: 5rem; align-items: flex-start; }
.contact-form-col { flex: 1.2; width: 100%; }
.form-subhead { font-size: 1rem; color: #e0f2f1; margin-bottom: 1.5rem; }

.dark-form { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.dark-form input, .dark-form select, .dark-form textarea {
    box-sizing: border-box; 
    width: 100%;
    background-color: rgba(0, 0, 0, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 4px;
    padding: 14px 15px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.dark-form input::placeholder, .dark-form textarea::placeholder { color: rgba(255, 255, 255, 0.7); }
.dark-form select { color: rgba(255, 255, 255, 0.7); cursor: pointer; }
.dark-form select option { color: #333333; background-color: #ffffff; }

.dark-form input:focus, .dark-form select:focus, .dark-form textarea:focus {
    outline: none; border-color: #fce03b; background-color: rgba(0, 0, 0, 0.25);
}

.dark-form textarea { resize: vertical; min-height: 120px; }

.submit-btn-yellow {
    background-color: #fce03b; 
    color: #11676d; 
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    align-self: flex-start;
    font-size: 1.05rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn-yellow:hover { background-color: #ffffff; transform: translateY(-2px); }

.contact-info-col { flex: 1; }
.address-block h2 { font-size: 1.8rem; color: #fce03b; font-weight: 400; margin-top: 0; margin-bottom: 1rem; }
.address-block h3 { font-size: 1.1rem; color: #ffffff; margin-bottom: 0.5rem; font-weight: 600; }
.address-block p { color: #ffffff; font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 45px; height: 45px;
    background-color: #ffffff; color: #11676d; 
    border-radius: 10px; text-decoration: none; font-size: 1.3rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-links a:hover { background-color: #fce03b; color: #11676d; transform: translateY(-4px); }

@media (max-width: 850px) { .contact-content-split { flex-direction: column; gap: 3.5rem; } }

/* =========================================
   UNIVERSAL BRAND CONSISTENCY: Services Row Fix
   (Cinzel Font, All Uppercase, Yellow Text)
========================================= */
.brand-contact-info ul li,
.useful-links ul li,
.site-footer ul li,
.contact-col ul li,
.links-col ul li {
    font-family: 'Cinzel', serif !important; 
    text-transform: uppercase !important; 
    color: #fce03b !important; 
    font-size: 0.95rem !important; 
    font-weight: 700 !important; 
    letter-spacing: 1.5px !important; 
}

.brand-contact-info ul li i,
.useful-links ul li i,
.site-footer ul li i,
.contact-col ul li i,
.links-col ul li i {
    color: #fce03b !important;
}
/* =========================================
   LOCATION & CONNECTIVITY STYLES
========================================= */
.location-section {
  background-color: #f7f9fb; /* Soft light background to contrast with white sections */
  padding: 80px 20px;
}

.location-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
}

/* --- Map Column --- */
.map-column {
  flex: 1.2;
  width: 100%;
}

.map-column iframe {
  width: 100%;
  height: 550px;
  border-radius: 8px;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

/* --- Distances Column --- */
.distances-column {
  flex: 1;
}

.location-heading {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  color: #11676d;
  margin-bottom: 10px;
}

.location-subhead {
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.distance-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.distance-item {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border-left: 4px solid #fce03b; /* Brand Yellow accent */
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.distance-item:hover {
  transform: translateX(8px); /* Smooth sliding effect */
  border-left-color: #11676d; /* Turns Teal on hover */
  box-shadow: 0 6px 15px rgba(17, 103, 109, 0.15);
}

.distance-item i {
  color: #11676d; /* Brand Teal */
  font-size: 1.3rem;
  width: 35px; /* Ensures all text aligns perfectly regardless of icon size */
  text-align: left;
}

.distance-item strong {
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  flex-grow: 1; /* Pushes the time to the far right */
}

.distance-item span {
  color: #11676d;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(17, 103, 109, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

/* =========================================
   MOBILE RESPONSIVE: LOCATION SECTION
========================================= */
@media (max-width: 992px) {
  .location-container {
    flex-direction: column;
    gap: 40px;
  }

  .map-column iframe {
    height: 400px; /* Shorter map for tablets/phones */
  }

  .location-heading {
    font-size: 2.2rem;
    text-align: center;
  }
  
  .location-subhead {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .location-section {
    padding: 60px 20px;
  }
  
  .map-column iframe {
    height: 300px; /* Even shorter map for small phones */
  }

  .location-heading {
    font-size: 2rem;
  }

  .distance-item {
    padding: 12px 15px;
  }
  
  .distance-item i {
    font-size: 1.1rem;
    width: 30px;
  }

  .distance-item strong {
    font-size: 0.95rem;
  }
}
/* =========================================
   LUXURY TYPOGRAPHY FOR HOSTS SECTION
========================================= */

/* The Main Heading ("Designed By WALLSART ARCHITECTS") */
.hosts-section h2 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 500 !important;
    font-size: 3.2rem !important; /* Nice and large */
    color: #1a202c !important; /* Deep, elegant charcoal instead of harsh black */
    line-height: 1.2 !important;
    margin-bottom: 25px !important;
    text-transform: none !important; /* Ensures it is NOT forced into ALL CAPS */
    letter-spacing: 0.5px !important;
}

/* The Subheading & Paragraphs */
.hosts-section p {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.05rem !important;
    color: #4a5568 !important; /* Soft slate grey, exactly like the image */
    line-height: 1.85 !important; /* Gives it that relaxed, readable breathing room */
    margin-bottom: 20px !important;
    text-align: left !important;
}

/* Mobile Adjustments for Typography */
@media (max-width: 768px) {
    .hosts-section h2 {
        font-size: 2.2rem !important;
        text-align: center !important;
    }
    
    .hosts-section p {
        font-size: 1rem !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
}
/* =========================================
   HAMBURGER MENU STYLES
========================================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 3px;
}
/* =========================================
   FIX: FORCE HAMBURGER MENU VISIBILITY
========================================= */
@media (max-width: 992px) {
    .hosp-nav { padding: 15px 10px !important; flex-wrap: nowrap !important; flex-direction: row !important; justify-content: space-between !important; }
    .brand-container { max-width: 85% !important; gap: 8px !important; justify-content: flex-start !important; }
    .logo { height: 50px !important; }
    .hosp-brand { font-size: 13px !important; letter-spacing: 1px !important; transform: translateY(3px) !important; }
    
    /* 1. Forces the menu icon to show */
    .menu-toggle { display: flex !important; }
    
    /* 2. Turns the links into a dropdown instead of hiding them permanently */
    .hosp-links { 
        display: flex !important; 
        flex-direction: column; 
        position: absolute; 
        top: 80px; 
        left: -100%; /* Hides it off-screen initially */
        width: 100%; 
        background-color: rgba(17, 103, 109, 0.98); 
        text-align: center; 
        transition: left 0.4s ease; 
        padding: 2rem 0; 
        margin: 0;
        z-index: 999;
    }
    
    /* 3. The class that slides the menu into view when clicked */
    .hosp-links.active { left: 0 !important; }
    .hosp-links li { margin: 15px 0; }
}